* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  height: 100%;
}
body{
  height: 100%;
  max-width: 416px;
  margin: auto;
}
.swiper-wrapper,.swiper-container{
  height: 100%;

}
.swiper-slide {
  height: 100%;
  line-height: 300px;
  color: #fff;
  font-size: 36px;
  text-align: center;
  position: relative;
  .yaoqing{
    position: absolute;
    width: 20%;
    padding-top: 20%;
    right: 1.3%;
    top: 0;
    background: url('../img/yaoqing.png') no-repeat;
    background-size: 100% 100%;
    margin-top: 16%;
    z-index: 10;
  }

}
.music{
  width: 9%;
  position: fixed;
  left: 1%;
  margin-top: 2%;
  z-index: 100;
}
.swiper-slide>div{
  height: 100%;
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 4.6%;

  >div{
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 5%;
    >div{
      width: 100%;
      height: 100%;
      border: 1px solid #000;
      display: flex;
      flex-direction: column;
      position: relative;

      .title{
        width: 56%;
        left: 22%;
        padding-top: 4.5%;
        background: #fff url('../img/title_icon.png') no-repeat 50% 50%;
        background-size: contain;
        position: absolute;
        transform: translate(0,-44%);
      }
      >p{
        flex: 1;
        max-height: 65px;
        background: url(../img/gouchuse.png) no-repeat 50% 50%;
        background-size: contain;
        margin-top: 16%;
        min-height: 30px;
      }
      .header1{
        flex: 1;
        max-height: 13px;
        background: url(../img/header1.png) no-repeat 50% 50%;
        background-size: contain;
        margin-top: 5%;
        margin-bottom: 9%;
      }
      .body1{
        flex: 1;
        background: url(../img/body1.png) no-repeat 50% 50%;
        background-size: contain;
        margin-right: 10%;
        max-height: 298px;
        min-height: 135px;
        min-height: 60px;
      }
      .body2{
        flex: 1;
        background: url(../img/body2.png) no-repeat 50% 50%;
        background-size: contain;
        margin-left: 1%;
        min-height: 135px;

      }
      .body3{
        flex: 1;
        background: url(../img/body3.png) no-repeat 50% 50%;
        background-size: contain;
        margin-left: 1%;
        min-height: 135px;

      }
      .footer1{
        flex: 1;
        background: url(../img/footer1.png) no-repeat 50% 50%;
        background-size: contain;
        margin: 0 3%;
        max-height: 139px;
        min-height: 60px;
      }
      .huadong1{
        flex: 1;
        background: url(../img/huadong1.png) no-repeat 50% 50%;
        background-size: contain;
        max-height: 13px;
        margin-bottom: 8%;
        margin-top: 11%;
      }
      .huadong2{
        flex: 1;
        background: url(../img/huadong2.png) no-repeat 50% 50%;
        background-size: contain;
        max-height: 13px;
        margin-bottom: 8%;
        margin-top: 11%;
      }
      .youhouiquan{
        flex: 1;
        background: url(../img/youhuiquan.png) no-repeat 50% 50%;
        background-size: contain;
        margin-top: 7%;
        max-height: 194px;
        min-height: 71px;
      }
      .forms_{
        flex: 1;
        display: flex;
        flex-direction: column;
        max-height: 180px;
        margin: 10% 8% 12% 8%;
        min-height: 120px;
          >div{
            flex: 1;
            width: 100%;
            border: 1px solid #e8e8e8;
            max-height: 50px;
            text-align: center;
            font-size: 14px;
            color: #666666;
            cursor: pointer;
            position: relative;
            min-height: 29px;
            >span{
              position: absolute;
              left: 50%;
              top: 50%;
              transform: translate(-50%,-50%);
              width: 100%;
              line-height: 100%;
            }
          }
        >input{
            flex: 1;
            width: 100%;
            border: 1px solid #e8e8e8;
            max-height: 50px;
            padding-left: 5%;
            padding-right: 5%;
            font-size: 14px;
            color:#666666;
            &:focus{
              outline: none;
            }
          }
        >.test_code{
          flex: 1;
          /* max-height: 14px; */
          max-height: 50px;
          border: 1px solid #e8e8e8;
          color: black;
          position: relative;
          >input{
            position: absolute;
            top: 0;
            left: 0;
            width: 65%;
            height: 100%;
            padding-left: 5%;
            padding-right: 5%;
            font-size: 14px;
            &:focus{
              outline: none;
            }
          }
          >div{
            position: absolute;
            right: 0;
            width: 35%;
            height: 100%;
            font-size: 12px;
            >b{
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              width: 100%;
              height: 17px;
              line-height: 17px;
              font-weight: 400;
              padding-left: 4px;
              border-left: 1px solid #e8e8e8;
            }
            >span{
              display: none;
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              width: 100%;
              height: 17px;
              line-height: 17px;
              font-weight: 400;
              padding-left: 4px;
              border-left: 1px solid #e8e8e8;
            }
          }

        }
        >.zhanwei1{
          flex: 1;
          max-height: 20px;
        }
        >.zhanwei2{
          flex: 1;
          max-height: 8px;
        }
      }
      .footer4{
        flex: 1;
        background: url(../img/lijilingqu.png) no-repeat 50% 50%;
        background-size: contain;
        max-height: 39px;
        margin-bottom: 11%;
      }
      .lijilingqu{
        flex: 1;
        background: url(../img/footer4.png) no-repeat 50% 50%;
        background-size: contain;
        max-height: 15px;
        margin-bottom: 9%;
        margin-top: 2%;
      }
      .xiahua_img{
        position: absolute;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5) url(../img/WechatIMG1.png) no-repeat;
        background-size: 100% 100%;
        width: 34px;
        height: 15px;
        left: 50%;
        transform: translate(-50%, 50%);
        border-radius: 3px;
        -webkit-animation: start 1.5s infinite ease-in-out;
        animation-direction: alternate;
        transform-origin: 0 0;
        margin-left: -17px;
      }
    }

  }

}
.swiper-slide .img1{
  background-image: url('../img/background1.jpg');
}
.swiper-slide .img2{
  background-image: url('../img/background2.jpg');
}
.swiper-slide .img3{
  background-image: url('../img/background2.jpg');
}
.swiper-slide .img4{
  background-image: url('../img/background1.jpg');
}
.loading{
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  display: block;
  z-index: 100;
  >i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
  }
}
@keyframes huadong {
  from{transform: rotateZ(-10deg)}
  to{transform: rotateZ(10deg)}
}
@-webkit-keyframes start {
  60% {opacity: 1;-webkit-transform: translate(0,0);}
  100% {opacity: 0;-webkit-transform: translate(0,-8px);}
}
@-moz-keyframes start {
  0%,30% {opacity: 0;-moz-transform: translate(0,10px);}
  60% {opacity: 1;-moz-transform: translate(0,0);}
  100% {opacity: 0;-moz-transform: translate(0,-8px);}
}
@keyframes start {
  0%,30% {opacity: 0;transform: translate(0,10px);}
  60% {opacity: 1;transform: translate(0,0);}
  100% {opacity: 0;transform: translate(0,-8px);}
}